package com.orchard.orchardfarmmanagementsystem.dto;

import com.orchard.orchardfarmmanagementsystem.pojo.MaterialsQuantity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TaskDTO {

    private String name;
    private Date startDate;
    private Date endDate;
    private String description;
    private List<Integer> orchardIds; // 关联果园ID数组
    private List<MaterialsQuantity> materials; // 所需物资及其数量
    private List<Integer> executorIds; // 执行人员ID数组

}